<div id="mws-container" class="clearfix">
<div class="container">
  <div class="mws-panel grid_8">
    <div class="mws-panel-header"> <span class="mws-i-24 i-list">FedEx Setting</span> </div>
    <div class="mws-panel-body">
      <div class="mws-form-inline">
       <?php echo $form->create(array('action'=>'','method'=>'post', 'class' => 'mws-form')); ?>
        <div class="mws-form-row">
          <label>fedex account:</label>
          <div class="mws-form-item small">
            <div class="input text">
              <?php
                          echo $this->Form->input('FedexShipping.fedex_account', array('type' => 'text',
						  'value'=>$custum_settings['FedexShipping']['fedex_account'],'class'=>'mws-textinput','label' =>false));
                        ?>
            </div>
            <span class="gary_text">Enter the XML rates access key assigned to you by UPS.</span> </div>
        </div>
        <div class="mws-form-row">
          <label>fedex_meter :</label>
          <div class="mws-form-item small">
            <div class="input text">
              <?php
                          echo $this->Form->input('FedexShipping.fedex_meter ', array('type' => 'text',
						  'value'=>$custum_settings['FedexShipping']['fedex_meter'],'class'=>'mws-textinput','label' =>false));
                        ?>
            </div>
            <span class="gary_text">Enter the XML rates access key assigned to you by UPS.</span> </div>
        </div>
        <div class="mws-form-row">
          <label>CustomerTransactionIdentifier:</label>
          <div class="mws-form-item 	small">
            <div class="input text">
              <?php
                          echo $this->Form->input('FedexShipping.CustomerTransactionIdentifier', array('type' => 'text',
						  'value'=>$custum_settings['FedexShipping']['CustomerTransactionIdentifier'],'class'=>'mws-textinput','label' =>false));
                        ?>
            </div>
            <span class="gary_text">Enter your CustomerTransactionIdentifier.</span> </div>
        </div>
        <div class="mws-form-row">
          <label>Drop off Type  :</label>
          <div class="mws-form-item 	small">
            <div class="input text">
              <?php
                          echo $this->Form->input('FedexShipping.DropoffType', array('type' => 'text',
						  'value'=>$custum_settings['FedexShipping']['DropoffType'],'class'=>'mws-textinput','label' =>false));
				?>
            </div>
            <span class="gary_text">Enter your UPS Services account password.</span> </div>
        </div>
        <div class="mws-form-row">
          <label>Packaging:</label>
          <div class="mws-form-item small">
            <div class="input select">
              <select name="data[FedexShipping][Packaging]">
                <option selected="selected" value="FEDEXENVELOPE">FEDEXENVELOPE</option>
                <option value="FEDEXPAK">FEDEXPAK</option>
                <option value="FEDEXBOX">FEDEXBOX</option>
                <option value="FEDEX10KGBOX">FEDEX10KGBOX</option>
                <option value="FEDEX25KGBOX">FEDEX25KGBOX</option>
                <option value="YOURPACKAGING">YOURPACKAGING</option>
              </select>
            </div>
            <span class="gary_text">How do you give packages to UPS (only used when origin is US)?</span> </div>
        </div>
        
        <div class="mws-form-row">
          <label>Shipping Origin Code :</label>
          <div class="mws-form-item small">
            <div class="input select">
              <select id="ProductTaxType" class="mws-textinput" name="data[FedexShipping][sh_origin_code]">
                <option value="US" selected="selected">US Origin</option>
                <option value="CA">Canada Origin</option>
                <option value="EU">European Union Origin</option>
                <option value="PR">Puerto Rico Origin</option>
                <option value="MX">Mexico Origin</option>
                <option value="other">All Other Origins</option>
              </select>
            </div>
            <span class="gary_text">What origin point should be used (this setting affects only what UPS product names are shown to the user)</span> </div>
        </div>
        <div class="clr">&nbsp;</div>
        <div class="mws-form-row">
          <label>Origin City :</label>
          <div class="mws-form-item 	small">
            <div class="input text">
              <input type="text" id="ProductMsrp" 
              class="mws-textinput" value="<?php echo $custum_settings['FedexShipping']['origin_city']; ?>" name="data[FedexShipping][origin_city]">
            </div>
          </div>
        </div>
        <div class="mws-form-row">
          <label>Origin State/Province :</label>
          <div class="mws-form-item 	small">
            <div class="input text">
              <select id="ShippingState" class="mws-textinput" name="data[FedexShipping][origin_state]">
                <option selected="selected" value="AL">Alabama</option>
                <option value="AK">Alaska </option>
                <option value="AZ">Arizona</option>
                <option value="AR">Arkansas </option>
                <option value="CA">California</option>
                <option value="CO">Colorado</option>
                <option value="CT">Connecticut </option>
                <option value="DE">Florida</option>
                <option value="DC">District of Columbia</option>
                <option value="FL">Georgia</option>
                <option value="HI">Hawaii</option>
                <option value="ID">Idaho</option>
                <option value="IL">Illinois</option>
                <option value="IN">Indiana</option>
                <option value="IA">Iowa</option>
                <option value="KS">Kansas</option>
                <option value="KY">Kentucky</option>
                <option value="LA">Louisiana</option>
                <option value="ME">Maine</option>
                <option value="MD">Maryland</option>
                <option value="MA">Massachusetts</option>
                <option value="MI">Michigan</option>
                <option value="MN">Minnesota</option>
                <option value="MS">Mississippi</option>
                <option value="MO">Missouri</option>
                <option value="MT">Montana</option>
                <option value="NE">Nebraska</option>
                <option value="NV">Nevada</option>
                <option value="NH">New Hampshire</option>
                <option value="NJ">New Jersey</option>
                <option value="NM">New Mexico</option>
                <option value="NY">New York</option>
                <option value="NC">North Carolina</option>
                <option value="ND">North Dakota</option>
                <option value="OH">Ohio</option>
                <option value="OK">Oklahoma</option>
                <option value="OR">Oregon</option>
                <option value="PA">Pennsylvania</option>
                <option value="RI">Rhode Island</option>
                <option value="SC">South Carolina</option>
                <option value="SD">South Dakota</option>
                <option value="TN">Tennessee</option>
                <option value="TX">Texas</option>
                <option value="UT">Utah</option>
                <option value="VT">Vermont</option>
                <option value="VA">Virginia</option>
                <option value="WA">Washington</option>
                <option value="WV">West Virginia</option>
                <option value="WI">Wisconsin</option>
                <option value="WY">Wyoming</option>
              </select>
            </div>
            <span class="gary_text">Enter the two-letter code for your origin state/province.</span> </div>
        </div>
        <div class="clr">&nbsp;</div>
        <div class="mws-form-row">
          <label>Origin Country :</label>
          <div class="mws-form-item 	small">
            <div class="input text">
              <select id="ShippingCountry" class="mws-textinput" name="data[FedexShipping][origin_country]">
                <option value="AF">Afghanistan</option>
                <option value="AL">Albania</option>
                <option value="DZ">Algeria</option>
                <option value="DS">American Samoa</option>
                <option value="AD">Andorra</option>
                <option value="AO">Angola</option>
                <option value="AI">Anguilla</option>
                <option value="AQ">Antarctica</option>
                <option value="AG">Antigua and/or Barbuda</option>
                <option value="AR">Argentina</option>
                <option value="AM">Armenia</option>
                <option value="AW">Aruba</option>
                <option value="AU">Australia</option>
                <option value="AT">Austria</option>
                <option value="AZ">Azerbaijan</option>
                <option value="BS">Bahamas</option>
                <option value="BH">Bahrain</option>
                <option value="BD">Bangladesh</option>
                <option value="BB">Barbados</option>
                <option value="BY">Belarus</option>
                <option value="BE">Belgium</option>
                <option value="BZ">Belize</option>
                <option value="BJ">Benin</option>
                <option value="BM">Bermuda</option>
                <option value="BT">Bhutan</option>
                <option value="BO">Bolivia</option>
                <option value="BA">Bosnia and Herzegovina</option>
                <option value="BW">Botswana</option>
                <option value="BV">Bouvet Island</option>
                <option value="BR">Brazil</option>
                <option value="IO">British lndian Ocean Territory</option>
                <option value="BN">Brunei Darussalam</option>
                <option value="BG">Bulgaria</option>
                <option value="BF">Burkina Faso</option>
                <option value="BI">Burundi</option>
                <option value="KH">Cambodia</option>
                <option value="CM">Cameroon</option>
                <option value="CA">Canada</option>
                <option value="CV">Cape Verde</option>
                <option value="KY">Cayman Islands</option>
                <option value="CF">Central African Republic</option>
                <option value="TD">Chad</option>
                <option value="CL">Chile</option>
                <option value="CN">China</option>
                <option value="CX">Christmas Island</option>
                <option value="CC">Cocos (Keeling) Islands</option>
                <option value="CO">Colombia</option>
                <option value="KM">Comoros</option>
                <option value="CG">Congo</option>
                <option value="CK">Cook Islands</option>
                <option value="CR">Costa Rica</option>
                <option value="HR">Croatia (Hrvatska)</option>
                <option value="CU">Cuba</option>
                <option value="CY">Cyprus</option>
                <option value="CZ">Czech Republic</option>
                <option value="DK">Denmark</option>
                <option value="DJ">Djibouti</option>
                <option value="DM">Dominica</option>
                <option value="DO">Dominican Republic</option>
                <option value="TP">East Timor</option>
                <option value="EC">Ecudaor</option>
                <option value="EG">Egypt</option>
                <option value="SV">El Salvador</option>
                <option value="GQ">Equatorial Guinea</option>
                <option value="ER">Eritrea</option>
                <option value="EE">Estonia</option>
                <option value="ET">Ethiopia</option>
                <option value="FK">Falkland Islands (Malvinas)</option>
                <option value="FO">Faroe Islands</option>
                <option value="FJ">Fiji</option>
                <option value="FI">Finland</option>
                <option value="FR">France</option>
                <option value="FX">France, Metropolitan</option>
                <option value="GF">French Guiana</option>
                <option value="PF">French Polynesia</option>
                <option value="TF">French Southern Territories</option>
                <option value="GA">Gabon</option>
                <option value="GM">Gambia</option>
                <option value="GE">Georgia</option>
                <option value="DE">Germany</option>
                <option value="GH">Ghana</option>
                <option value="GI">Gibraltar</option>
                <option value="GR">Greece</option>
                <option value="GL">Greenland</option>
                <option value="GD">Grenada</option>
                <option value="GP">Guadeloupe</option>
                <option value="GU">Guam</option>
                <option value="GT">Guatemala</option>
                <option value="GN">Guinea</option>
                <option value="GW">Guinea-Bissau</option>
                <option value="GY">Guyana</option>
                <option value="HT">Haiti</option>
                <option value="HM">Heard and Mc Donald Islands</option>
                <option value="HN">Honduras</option>
                <option value="HK">Hong Kong</option>
                <option value="HU">Hungary</option>
                <option value="IS">Iceland</option>
                <option value="IN">India</option>
                <option value="ID">Indonesia</option>
                <option value="IR">Iran (Islamic Republic of)</option>
                <option value="IQ">Iraq</option>
                <option value="IE">Ireland</option>
                <option value="IL">Israel</option>
                <option value="IT">Italy</option>
                <option value="CI">Ivory Coast</option>
                <option value="JM">Jamaica</option>
                <option value="JP">Japan</option>
                <option value="JO">Jordan</option>
                <option value="KZ">Kazakhstan</option>
                <option value="KE">Kenya</option>
                <option value="KI">Kiribati</option>
                <option value="KP">Korea, Democratic People's Republic of</option>
                <option value="KR">Korea, Republic of</option>
                <option value="KW">Kuwait</option>
                <option value="KG">Kyrgyzstan</option>
                <option value="LA">Lao People's Democratic Republic</option>
                <option value="LV">Latvia</option>
                <option value="LB">Lebanon</option>
                <option value="LS">Lesotho</option>
                <option value="LR">Liberia</option>
                <option value="LY">Libyan Arab Jamahiriya</option>
                <option value="LI">Liechtenstein</option>
                <option value="LT">Lithuania</option>
                <option value="LU">Luxembourg</option>
                <option value="MO">Macau</option>
                <option value="MK">Macedonia</option>
                <option value="MG">Madagascar</option>
                <option value="MW">Malawi</option>
                <option value="MY">Malaysia</option>
                <option value="MV">Maldives</option>
                <option value="ML">Mali</option>
                <option value="MT">Malta</option>
                <option value="MH">Marshall Islands</option>
                <option value="MQ">Martinique</option>
                <option value="MR">Mauritania</option>
                <option value="MU">Mauritius</option>
                <option value="TY">Mayotte</option>
                <option value="MX">Mexico</option>
                <option value="FM">Micronesia, Federated States of</option>
                <option value="MD">Moldova, Republic of</option>
                <option value="MC">Monaco</option>
                <option value="MN">Mongolia</option>
                <option value="MS">Montserrat</option>
                <option value="MA">Morocco</option>
                <option value="MZ">Mozambique</option>
                <option value="MM">Myanmar</option>
                <option value="NA">Namibia</option>
                <option value="NR">Nauru</option>
                <option value="NP">Nepal</option>
                <option value="NL">Netherlands</option>
                <option value="AN">Netherlands Antilles</option>
                <option value="NC">New Caledonia</option>
                <option value="NZ">New Zealand</option>
                <option value="NI">Nicaragua</option>
                <option value="NE">Niger</option>
                <option value="NG">Nigeria</option>
                <option value="NU">Niue</option>
                <option value="NF">Norfork Island</option>
                <option value="MP">Northern Mariana Islands</option>
                <option value="NO">Norway</option>
                <option value="OM">Oman</option>
                <option value="PK">Pakistan</option>
                <option value="PW">Palau</option>
                <option value="PA">Panama</option>
                <option value="PG">Papua New Guinea</option>
                <option value="PY">Paraguay</option>
                <option value="PE">Peru</option>
                <option value="PH">Philippines</option>
                <option value="PN">Pitcairn</option>
                <option value="PL">Poland</option>
                <option value="PT">Portugal</option>
                <option value="PR">Puerto Rico</option>
                <option value="QA">Qatar</option>
                <option value="RE">Reunion</option>
                <option value="RO">Romania</option>
                <option value="RU">Russian Federation</option>
                <option value="RW">Rwanda</option>
                <option value="KN">Saint Kitts and Nevis</option>
                <option value="LC">Saint Lucia</option>
                <option value="VC">Saint Vincent and the Grenadines</option>
                <option value="WS">Samoa</option>
                <option value="SM">San Marino</option>
                <option value="ST">Sao Tome and Principe</option>
                <option value="SA">Saudi Arabia</option>
                <option value="SN">Senegal</option>
                <option value="SC">Seychelles</option>
                <option value="SL">Sierra Leone</option>
                <option value="SG">Singapore</option>
                <option value="SK">Slovakia</option>
                <option value="SI">Slovenia</option>
                <option value="SB">Solomon Islands</option>
                <option value="SO">Somalia</option>
                <option value="ZA">South Africa</option>
                <option value="GS">South Georgia South Sandwich Islands</option>
                <option value="ES">Spain</option>
                <option value="LK">Sri Lanka</option>
                <option value="SH">St. Helena</option>
                <option value="PM">St. Pierre and Miquelon</option>
                <option value="SD">Sudan</option>
                <option value="SR">Suriname</option>
                <option value="SJ">Svalbarn and Jan Mayen Islands</option>
                <option value="SZ">Swaziland</option>
                <option value="SE">Sweden</option>
                <option value="CH">Switzerland</option>
                <option value="SY">Syrian Arab Republic</option>
                <option value="TW">Taiwan</option>
                <option value="TJ">Tajikistan</option>
                <option value="TZ">Tanzania, United Republic of</option>
                <option value="TH">Thailand</option>
                <option value="TG">Togo</option>
                <option value="TK">Tokelau</option>
                <option value="TO">Tonga</option>
                <option value="TT">Trinidad and Tobago</option>
                <option value="TN">Tunisia</option>
                <option value="TR">Turkey</option>
                <option value="TM">Turkmenistan</option>
                <option value="TC">Turks and Caicos Islands</option>
                <option value="TV">Tuvalu</option>
                <option value="UG">Uganda</option>
                <option value="UA">Ukraine</option>
                <option value="AE">United Arab Emirates</option>
                <option value="GB">United Kingdom</option>
                <option selected="selected" value="US">United States</option>
                <option value="UM">United States minor outlying islands</option>
                <option value="UY">Uruguay</option>
                <option value="UZ">Uzbekistan</option>
                <option value="VU">Vanuatu</option>
                <option value="VA">Vatican City State</option>
                <option value="VE">Venezuela</option>
                <option value="VN">Vietnam</option>
                <option value="VI">Virgin Islands (U.S.)</option>
                <option value="VG">Virigan Islands (British)</option>
                <option value="WF">Wallis and Futuna Islands</option>
                <option value="EH">Western Sahara</option>
                <option value="YE">Yemen</option>
                <option value="YU">Yugoslavia</option>
                <option value="ZR">Zaire</option>
                <option value="ZM">Zambia</option>
                <option value="ZW">Zimbabwe</option>
              </select>
            </div>
            <span class="gary_text">Enter the two-letter code for your origin Country.</span> </div>
        </div>
        <div class="mws-form-row">
          <label>Origin Zip/Postal Code :</label>
          <div class="mws-form-item 	small">
            <div class="input text">
              <input type="text" id="ProductMsrp" class="mws-textinput" value="<?php echo $custum_settings['FedexShipping']['orizin_zip_code']; ?>" name="data[FedexShipping][orizin_zip_code]">
            </div>
            <span class="gary_text">Enter the two-letter code for your origin Zip/Postal Code.</span> </div>
        </div>
        <div class="mws-form-row">
          <label>Test Mode :</label>
          <div class="mws-form-item small">
            <div class="input text">
            <?php
			$check_1 ="";
			$check_2 = "";
				if(isset($custum_settings['FedexShipping']['test_mode']) and ($custum_settings['FedexShipping']['test_mode']==1))
					{
						$check_1 = "checked='checked'";
					}
				else{
						$check_2 = "checked='checked'";
				}
			?>
              <label>
                <input name="data[FedexShipping][test_mode]"  <?php echo $check_1; ?> type="radio" value="1" />
                Yes&nbsp;&nbsp;&nbsp;</label>
              <label>
                <input name="data[FedexShipping][test_mode]" <?php echo $check_2; ?> type="radio" value="0" />
                No</label>
            </div>
            <span class="gary_text">Use this module in Test (YES) or Production mode (NO)?</span> </div>
        </div>
        <div class="clr">&nbsp;</div>
        <div class="mws-form-row">
          <label>Services : </label>
          <div class="mws-form-item 	small">
            <div class="input select">
              <div class="scrollbox">
                <div class="even">
                  <input type="checkbox"  value="PRIORITYOVERNIGHT-Priority_Overnight" name="data[FedexShipping][services][]">
                 Priority_Overnight </div>
                <div class="odd">
                  <input type="checkbox"  value="STANDARDOVERNIGHT-Standard_Overnight" name="data[FedexShipping][services][]">
                 Standard_Overnight </div>
                <div class="even">
                  <input type="checkbox"  value="FIRSTOVERNIGHT-First_Overnight" name="data[FedexShipping][services][]">
                 First_Overnight</div>
                <div class="odd">
                  <input type="checkbox"  value="FEDEX2DAY-2_Day" name="data[FedexShipping][services][]">
                 2_Day</div>
                <div class="even">
                  <input type="checkbox"  value="FEDEXEXPRESSSAVER-Express_Saver" name="data[FedexShipping][services][]">
                  Express_Saver </div>
                <div class="odd">
                  <input type="checkbox"  value="FEDEXGROUND-Ground" name="data[FedexShipping][services][]">
                 Ground</div>
                <div class="even">
                  <input type="checkbox"  value="FEDEX1DAYFREIGHT-Overnight_Day_Freight" name="data[FedexShipping][services][]">
                Overnight_Day_Freight</div>
                <div class="even">
                  <input type="checkbox"  value="FEDEX2DAYFREIGHT-2_Day_Freight" name="data[FedexShipping][services][]">
                  2_Day_Freight</div>
                <div class="odd">
                  <input type="checkbox"  value="FEDEX3DAYFREIGHT-3_Day_Freight" name="data[FedexShipping][services][]">
                  3_Day_Freight </div>
                <div class="even">
                  <input type="checkbox"  value="GROUNDHOMEDELIVERY-Home_Delivery" name="data[FedexShipping][services][]">
                  Home_Delivery </div>
                <div class="odd">
                  <input type="checkbox"  value="INTERNATIONALECONOMY-International_Economy" name="data[FedexShipping][services][]">
                  International_Economy </div>
                <div class="even">
                  <input type="checkbox"  value="INTERNATIONALFIRST-International_First" name="data[FedexShipping][services][]">
                  International_First</div>
                <div class="odd">
                  <input type="checkbox"  value="INTERNATIONALPRIORITY-International_Priority" name="data[FedexShipping][services][]">
                  International_Priority </div>
          </div>
            </div>
            <span class="gary_text">Select the UPS services to be offered.</span></div>
        </div>
		<?php
        if(isset($custum_settings['FedexShipping']['services']) and ($custum_settings['FedexShipping']['services']))
			{
		?>
        <div class="mws-form-row">
          <label>Selected Enabled Services : </label>
          <div class="mws-form-item 	small">
            <div class="input select">
              <div class="scrollbox">
			<?php
					$exp_name = explode(',',$custum_settings['FedexShipping']['services']);
					foreach($exp_name as $exp_n)
						{
							$expl_nam = explode('-',$exp_n);
							 echo '<div class="even">
									<input type="checkbox"  checked ="checked" value="'.$exp_n.'" name="data[FedexShipping][services][]">
									'.str_replace('_',' ',$expl_nam[1]).' 
								   </div>';
						}
			?>
          </div>
            </div>
            <span class="gary_text">Selected the UPS services By You.</span></div>
        </div>
        <?php
			}
		?>
        <div class="clr">&nbsp;</div>
        <div class="mws-form-row">
          <label>Weight Code :</label>
          <div class="mws-form-item small">
            <div class="input text">
              <input type="text" id="ProductWeight" class="mws-textinput" value="<?php echo $custum_settings['FedexShipping']['weight_code']; ?>" name="data[FedexShipping][weight_code]">
            </div>
            <span class="gary_text">Allowed kgs or lbs. Make sure you match the weight class with the UPS accepted weight code.</span> </div>
        </div>
        <div class="mws-form-row">
          <label>Weight Class : </label>
          <div class="mws-form-item 	small">
            <div class="input select">
            <?php
				$selected_1 ="";
				$selected_2="";
				$selected_3="";
				$selected_4="";
				$weight_class = $custum_settings['FedexShipping']['weight_class']; 
				if($weight_class=='kg')
				$selected_1 = "selected='selected'";
				else if($weight_class=='gram')
				$selected_2 ="selected='selected'";
				elseif($weight_class=='pound')
				$selected_3 = "selected='selected'";
				else
				$selected_4 = "selected='selected'";
 			?>
                <select id="ProductStatus" class="mws-textinput" name="data[FedexShipping][weight_class]">
                <option value="kg" <?php echo $selected_1; ?>>Kilogram</option>
                <option value="gram" <?php echo $selected_2; ?>>Gram</option>
                <option value="lb" <?php echo $selected_3; ?>>Pound </option>
                <option value="oz" <?php echo $selected_4; ?>>Ounce</option>
                </select>
            </div>
            <span class="gary_text">Set to kilograms or pounds.</span> </div>
        </div>
        <div class="mws-form-row">
          <label>Length code : </label>
          <div class="mws-form-item 	small">
            <div class="input select">
            <?php
				$selected_11 ="";
				$selected_21="";
				$weight_class_1 = $custum_settings['FedexShipping']['length_code']; 
				if($weight_class_1=='CM')
				$selected_11 = "selected='selected'";
				else
				$selected_21 = "selected='selected'";
 			?>
              <select id="ProductStatus" class="mws-textinput" name="data[FedexShipping][length_code]">
                <option <?php echo $selected_11; ?> value="CM">CM</option>
                <option <?php echo $selected_21; ?> value="IN">IN</option>
              </select>
            </div>
            <span class="gary_text">Set to centimeters or inches.</span> </div>
        </div>
        <div class="clr">&nbsp;</div>
        <div class="mws-form-row">
            <?php
				$selected_111 ="";
				$selected_211="";
				$selected_1114 ="";
				$weight_class_11 = $custum_settings['FedexShipping']['length_class']; 
				if($weight_class_11=='cm')
				$selected_111 = "selected='selected'";
				else if($weight_class_11=='mm')
				$selected_1114 = "selected='selected'";
				else
				$selected_211 = "selected='selected'";
 			?>
          <label>Length Class : </label>
          <div class="mws-form-item 	small">
            <div class="input select">
              <select id="ProductStatus" class="mws-textinput" name="data[FedexShipping][length_class]">
                <option value="cm" <?php echo $selected_111; ?>>Centimeter</option>
                <option value="mm" <?php echo $selected_1114; ?>>Millimeter</option>
                <option value="in" <?php echo $selected_211; ?>>Inch</option>
                </select>
            </div>
            <span class="gary_text">Set to centimeters or inches.</span> </div>
        </div>
        <div class="mws-form-row">
          <label>Dimensions (L x W x H) :</label>
          <?php
		  $weight_class_1dimentions = $custum_settings['FedexShipping']['dimensions']; 
		 
		    $weight_class_1dimentions_exp = explode('*', $weight_class_1dimentions);
			// pr($weight_class_1dimentions_exp);
		      //exit;
		  ?>
          <div class="mws-form-item small">
            <div class="input text">
              <input type="text"  size="4" value="<?php echo $weight_class_1dimentions_exp[0]; ?>" name="data[FedexShipping][dimentions][l]">
              <input type="text"  size="4" value="<?php echo $weight_class_1dimentions_exp[1]; ?>" name="data[FedexShipping][dimentions][w]">
              <input type="text"  size="4" value="<?php echo $weight_class_1dimentions_exp[2]; ?>" name="data[FedexShipping][dimentions][h]">
            </div>
          </div>
        </div>
        <div class="mws-form-row">
          <label>Status: </label>
			  <?php
				$selected_status_1 ="";
				$selected_status_0="";
				$weight_class_status = $custum_settings['FedexShipping']['status']; 
				if($weight_class_status=='1')
				$selected_status_1 = "selected='selected'";
				else 
				$selected_status_0 = "selected='selected'";
 			?>

          <div class="mws-form-item 	small">
            <div class="input select">
              <select id="ProductStatus" class="mws-textinput" name="data[FedexShipping][status]">
                <option  <?php echo $selected_status_1; ?> value="1">Active</option>
                <option  <?php echo $selected_status_0; ?> value="0">Deactive</option>
              </select>
            </div>
          </div>
        </div>
        <div class="clr">&nbsp;</div>
        <div class="clr">&nbsp;</div>
        <div class="mws-button-row">
          <input type="submit" value="Submit" class="mws-button black">
        </div>
        </form>
      </div>
    </div>
  </div>
</div>
